#ifndef _TP2_H_RPCGEN
#define _TP2_H_RPCGEN

#include <rpc/rpc.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/time.h>
#include <sys/resource.h>
#include <errno.h>
#include <pthread.h>

#define TP2_PROG 0x30000001
#define TP2_VERS 1
#define QUERY 1
#define QUERY_RESULT_SIZE 1000000
#define QUERY_SIZE 500

extern enum clnt_stat query_1(char **, char **, CLIENT *);
extern bool_t query_1_svc(char **, char **, struct svc_req *);
extern int tp2_prog_1_freeresult(SVCXPRT *, xdrproc_t, caddr_t);

#endif							/* !_TP2_H_RPCGEN */
